<!DOCTYPE html>
<html>
<head>
    <title>Google 桌面通知</title>
    <meta name="generator" content="editplus" />
    <meta name="author" content="" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta http-equiv='content-type' content='text/html; charset=utf-8' />
    <script src="js/common/browser.notify.js"></script>
</head>
<body>

<button id='btn'>显示桌面通知</button>

<script type='text/javascript'>
   setTimeout(function(){
       bNotify("打招呼","你好啊！");
   },500)
</script>
</body>
</html>